package com.openbravo.pos.sales;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;

import com.openbravo.basic.BasicException;
import com.openbravo.pos.catalog.CatalogSelector;
import com.openbravo.pos.catalog.JCatalog;
import com.openbravo.pos.forms.AppView;
import com.openbravo.pos.sales.JPanelTicket;
import com.openbravo.pos.ticket.ProductInfoExt;

import java.awt.Dimension;

import javax.swing.JLabel;



/* MAYON */
@Deprecated
public class JPanelTicketSales extends JPanelTicket { 
  
    /**
	 * 
	 */
	private static final long serialVersionUID = -8188726464274004022L;
   
    /** Creates a new instance of JPanelTicketSales */
    public JPanelTicketSales() {        
    }
    
    @Override
    public void init(AppView app) {
        super.init(app);
    }
    
    public String getTitle() {
        return null;
    }
    
    protected Component getSouthComponent() {
        return new JLabel("") ;
    }

    protected void resetSouthComponent() {
    }
    
    protected JTicketsBag getJTicketsBag() {
        return JTicketsBag.createTicketsBag(m_App.getProperties().getProperty("machine.ticketsbag"), m_App, this);
    }
    
    @Override
    public void activate() throws BasicException {      
        super.activate();
    }       
}